@import '../scss/reset';


html {
    font-size: 0.1333vw;
    body {
        width: 750rem;
        padding: 100rem 0;
        background-repeat: no-repeat;
        background-image: url(../image/bg.jpg);
        background-size: 100% 100%;
        @media (min-width: 588px) {
            background-size: cover;
        }
        section {
            width: 590rem;
            height: 839rem;
            margin: 0 auto;
            padding: 65rem 50rem;
            border-radius: 10rem;
            box-shadow: 0 0 15rem 5rem rgb(97, 96, 96);
            background-color: rgba($color: white, $alpha: 0.5);
            div {
                font-weight: bold;
                .data {
                    font-size: 30rem;
                    color: #0075c1;
                    position: relative;
                    div {
                        .icon-xialajiantou {
                            font-size: 15rem;
                            color: green;
                        }
                    }
                    // 选择日期列表
                    .dateList {
                        position: absolute;
                        left: 20rem;
                        bottom: -600rem;
                        display: none;
                        ul {
                            width: 450rem;
                            background-color: black;
                            border-radius: 10rem;
                            li {
                                padding: 0 40rem;
                                border-bottom: 1rem solid white;
                                label {
                                    height: 80rem;
                                    display: flex;
                                    color: #ffffff;
                                    justify-content: space-between;
                                    align-items: center;
                                }
                            }
                            >:last-child {
                                border-bottom: 0rem;
                            }
                        }
                    }
                    // 显示日期列表
                    .showList {
                        display: block;
                    }
                }
                // 场次列表
                .session {
                    margin-top: 85rem;
                    width: 490rem;
                    div {
                        display: flex;
                        font-size: 26rem;
                        color: #0075c1;
                        padding: 0 0 20rem 0;
                        span {
                            flex-grow: 1;
                            text-align: center;
                        }
                    }
                    ul {
                        li {
                            
                            display: flex;
                            justify-content: space-around;
                            font-size: 26rem;
                            padding: 60rem 0;
                            line-height: 55rem;
                            color: #434242;
                            span {
                                width: 150rem;
                                text-align: center;
                            }
                            // 可以预约
                            .btn {
                                color: green;
                                background-color: white;
                                border-radius: 10rem;
                                box-shadow: 0 0 4rem 4rem #434242;
                            }
                            // 不可预约
                            .past {
                                color: red;
                            }
                        }
                    }
                }
                .hint {
                    text-align: center;
                    font-size: 26rem;
                    color: #434242;
                    margin-bottom: 100rem;
                }
            }
        }
        // 加载动画
        .masking {
            width: 750rem;
            height: 100vh;
            position: fixed;
            padding-top: 500rem;
            top: 0;
            background-color: rgba($color: #000000, $alpha: 0.2);
            display: none;
            @keyframes load {
                0%,
                100% {
                    height: 30rem;
                }

                50% {
                    height: 100rem;
                }
            }
            ul {
                width: 200rem;
                height: 100rem;
                opacity: 0;
                margin: 0 auto;
                display: flex;
                justify-content: space-evenly;
                align-items: flex-end;
                li {
                    width: 30rem;
                    height: 30rem;
                    background-color: #00ff95;
                    animation: load 0.5s linear infinite;
                }
                :first-child {
                    animation-delay: 0s;
                }
                :nth-child(2) {
                    animation-delay: 0.2s;
                }
                :nth-child(3) {
                    animation-delay: 0.4s;
                }
                :nth-child(4) {
                    animation-delay: 0.6s;
                }
                :last-child {
                    animation-delay: 0.8s;
                }
            }
        }
        // 显示动画
        .loading {
            display: block;
            ul {
                opacity: 1;
            }
        }
        // 预约详情的弹框
        .details {
            width: 750rem;
            height: 100vh;
            position: fixed;
            top: 0;
            background-color: rgba($color: #000000, $alpha: 0.2);
            display: none;
            .content {
                width: 500rem;
                height: 550rem;
                margin: 0 auto;
                position: relative;
                padding: 60rem;
                top: 50%;
                transform: translateY(-50%);
                font-size: 30rem;
                background-color: white;
                border-radius: 10rem;
                box-shadow: 0 0 10rem 5rem black;
                text-align: center;
                font-weight: bold;
                h2 {
                    font-size: 50rem;
                    color: red;
                }
                span {
                    line-height: 100rem;
                }
                ul {
                    line-height: 100rem;
                }
                .btns {
                    display: flex;
                    justify-content: space-between;
                    padding: 40rem 0;
                    button {
                        width: 150rem;
                        height: 50rem;
                        font-size: 30rem;
                        border: 1rem solid black;
                        border-radius: 10rem;
                    }
                }
            }
        }
        // 显示预约详情弹框
        .showDetails {
            display: inline-block;
        }
    }
}
